package work.xiaohong.jijin.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.beans.factory.annotation.Autowired;
import work.xiaohong.jijin.entity.Store;

import java.util.List;

/**
 *  服务类
 * @author xiaohong
 * @since 2021-11-07 13:37:13
 */
public interface IStoreService extends IService<Store> {

    /**
     * 查询已完成Jijin
     * @return
     */
    Page findIsOver(int page, int size);

    /**
     * 查询进行中Jijin
     * @return
     */
    List<Store> findIsDoing();

    /**
     * 查询所有未满可赎天数的Jijin
     * @return
     */
    List<Store> findIsNotFree();

}
